# @Version : 1.0
# @Author  : 刘宇
# @File    : 03_compare_operator.py
# @Time    : 2025/9/30 14:52

# 比较运算符
# 结果只有true或者flase
a = 9
b = 8
print(a > b)  # True
print(a >= b)  # True
print(a <= b)  # flase
print(a < b)
print(a == b)
print(a != b)

# 表示把a>b比较的结果赋给flag
flag = a > b
print("flag= ", flag)  # true
print(a is b)
print(a is not b)
